﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Poligas_ERP.Forms;

namespace Poligas_ERP
{
    public partial class FrmMenu : Form
    {
        public FrmMenu()
        {
            InitializeComponent();
        }

        private void clientesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmClientes fcliente = new FrmClientes();
            fcliente.ShowDialog();
            fcliente.Dispose();
        }

        private void fornecedoresToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmFornecedores fforneced = new FrmFornecedores();
            fforneced.ShowDialog();
            fforneced.Dispose();
        }

        private void gruposToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmGrupo fgrupo = new FrmGrupo();
            fgrupo.ShowDialog();
            fgrupo.Dispose();
        }

        private void produtosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmProdutos fprod = new FrmProdutos();
            fprod.ShowDialog();
            fprod.Dispose();
        }

        private void vendedoresToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmVendedor fvendedor = new FrmVendedor();
            fvendedor.ShowDialog();
            fvendedor.Dispose();
        }

        private void setorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmSetor fsetor = new FrmSetor();
            fsetor.ShowDialog();
            fsetor.Dispose();
        }

        private void unidadesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmUnidades funid = new FrmUnidades();
            funid.ShowDialog();
            funid.Dispose();
        }

        private void situaçõesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmSituacoes fsit = new FrmSituacoes();
            fsit.ShowDialog();
            fsit.Dispose();
        }

        private void tiposDeSituaçõesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmTipoSituacoes ftipos = new FrmTipoSituacoes();
            ftipos.ShowDialog();
            ftipos.Dispose();
        }

        private void usuáriosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmUsuarios fusu = new FrmUsuarios();
            fusu.ShowDialog();
            fusu.Dispose();
        }

        private void notasDeEntradasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmCompras fcompras = new FrmCompras();
            fcompras.ShowDialog();
            fcompras.Dispose();
        }

        private void vendasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmVendas fvendas = new FrmVendas();
            fvendas.ShowDialog();
            fvendas.Dispose();
        }

        private void caixaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmCaixa fc = new FrmCaixa();
            fc.ShowDialog();
            fc.Dispose();
        }

        private void cadastroContasAPagarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmPagar fpg = new FrmPagar();
            fpg.ShowDialog();
            fpg.Dispose();
        }

        private void cadastroDeContasAReceberToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmReceber frec = new FrmReceber();
            frec.ShowDialog();
            frec.Dispose();
        }

        private void contasToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FrmContas fcon = new FrmContas();
            fcon.ShowDialog();
            fcon.Dispose();
        }

        private void sairToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void configuraçõesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmConfiguracoes fconfig = new FrmConfiguracoes();
            fconfig.ShowDialog();
            fconfig.Dispose();
        }

    }
}
